package com.yanqu.road.logic.bussiness.platform;

import com.yanqu.road.entity.annualreport.AnnualReportData;
import com.yanqu.road.logic.bussiness.DaoHelper;
import com.yanqu.road.entity.platform.ServerMaxOnline;
import com.yanqu.road.entity.platform.ServerRegister;

import java.util.Map;


public class PlatformBussiness {

    public static ServerRegister getServerRegister(long serverId, long queryStartTime, long queryEndTime) {
        return DaoHelper.getPlatformDaoImpl().getServerRegister(serverId, queryStartTime, queryEndTime);
    }

    public static Map<Long, ServerRegister> getServerRegisterMap(long queryStartTime, long queryEndTime) {
        return DaoHelper.getPlatformDaoImpl().getServerRegisterMap(queryStartTime, queryEndTime);
    }

    public static ServerMaxOnline getServerMaxOnline(long serverId, long queryStartTime, long queryEndTime) {
        return DaoHelper.getPlatformDaoImpl().getServerMaxOnline(serverId, queryStartTime, queryEndTime);
    }

    public static Map<Long, ServerMaxOnline> getServerMaxOnlineMap(long queryStartTime, long queryEndTime) {
        return DaoHelper.getPlatformDaoImpl().getServerMaxOnlineMap(queryStartTime, queryEndTime);
    }

    public static Map<Long, AnnualReportData> getAnnualReportDataMap() {
        return DaoHelper.getAnnualReportDaoImpl().getAnnualReportDataMap();
    }
}
